﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BonsaiScrum.Bus;

namespace BonsaiScrum.Core.Command
{
    public class CreateNewProject : ICommand
    {
        public string Name { get; private set; }
        public string Description { get; private set; }
        public int CreatorId { get; private set; }

        public CreateNewProject(string name, string description, int creatorId)
        {
            if (string.IsNullOrEmpty(name))
                throw new ArgumentNullException("name");

            Name = name;
            Description = description;
            CreatorId = creatorId;
        }
    }
}
